-
Notifications
You must be signed in to change notification settings - Fork 5.9k
xpu支持修改默认的l3/gm的buffer大小 #62729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xpu支持修改默认的l3/gm的buffer大小 #62729
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
22efc95 to
fbdd671
Compare
zhupengyang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
lj970926
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
XiaociZhang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall
| } else { | ||
| // Optimization described in | ||
| // https://github.com/PaddlePaddle/Paddle/pull/54674 | ||
| context_->set_option("XPUAPI_DEFAULT_SIZE", "1"); |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
dc2c900 to
9cc4a66
Compare
| stype, | ||
| ignore_device_version=[core.XPUVersion.XPU1], | ||
| ) | ||
| # for stype in support_types: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个case不过,先注释,后续跟进
PR types
Others
PR changes
Others
Description
xpu支持修改默认的l3/gm的buffer大小。
XPU_CDNN_CLUSTER_PARALLEL_STREAM_NUMBER:使用多少个流
XPU_PADDLE_L3_SIZE{i}: 第i个流使用的l3大小
XPUAPI_DEFAULT_SIZE{i}:第i个流使用的gm大小